package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWorkLeaveMessageAnnex;

import java.util.List;

/**
 * <p>
 * 工单留言附件表 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-04-24
 */
public interface ZjWorkLeaveMessageAnnexService extends IService<ZjWorkLeaveMessageAnnex> {

    /**
     * 保存工单留言附件
     * @param annexList
     */
    void save(List<ZjWorkLeaveMessageAnnex> annexList);

    /**
     * 根据工单ID获取留言附件
     * @param workId 工单ID
     * @return
     */
    List<ZjWorkLeaveMessageAnnex> getByWorkId(Long workId);
}
